package game;

import modele.World;
import vue.WorldRenderer;
import vue.WorldRendererConsole;
import vue.WorldRendererGraphique;

import com.badlogic.gdx.Screen;

public class GameScreen implements Screen{

	private World world;
	private WorldRenderer worldRender;
	private SpaceInvaders SpaceInvadersGame;
	
	public GameScreen(SpaceInvaders g){
		SpaceInvadersGame = g;
		world = new World();
		worldRender = new WorldRendererGraphique(world, true);
		//worldRender = new WorldRendererConsole(world);
	}

	@Override
	public void render(float delta) {
		worldRender.render(delta);
		
	}

	@Override
	public void resize(int width, int height) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void show() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void hide() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void pause() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void resume() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void dispose() {
		// TODO Auto-generated method stub
		
	}

}
